package com.ftg.shopping.mulu.service;

import com.ftg.shopping.mulu.mapper.muluMapper;
import com.ftg.shopping.sp_roleinfo.mapper.RoleMapper;
import com.ftg.shopping.user.entity.sp_userinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class muluService {

    @Autowired
    muluMapper muluMapper;

    public  List<Map<String,Object>> firstmulu(int userid) {
        return muluMapper.showForPara1(userid);
    }

    public List<Map<String, Object>> firstmulu2(int id, int userid) {
        return muluMapper.showForPara2(id,userid);
    }
}
